package com.javafamily.familydemo;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication
public class FamilyDemoApplication {

    public static void main(String[] args) {
        SpringApplication.run(FamilyDemoApplication.class, args);
    }
//    public static void main(String[] args) {
//        ConfigurableApplicationContext context = SpringApplication.run(FamilyDemoApplication.class);
//        Pets bean = context.getBean(Pets.class);
//        Object myPets = context.getBean("pets");
//        context.close();
//    }

}
